package com.ruoyi.project.viewin.mapper;

import java.util.List;
import com.ruoyi.project.viewin.domain.ViewInJobDetail;

/**
 * 入库子明细Mapper接口
 * 
 * @author ruoyi
 * @date 2023-04-13
 */
public interface ViewInJobDetailMapper 
{
    /**
     * 查询入库子明细
     * 
     * @param taskNo 入库子明细主键
     * @return 入库子明细
     */
    public ViewInJobDetail selectViewInJobDetailByTaskNo(String taskNo);

    /**
     * 查询入库子明细列表
     * 
     * @param viewInJobDetail 入库子明细
     * @return 入库子明细集合
     */
    public List<ViewInJobDetail> selectViewInJobDetailList(ViewInJobDetail viewInJobDetail);

    /**
     * 新增入库子明细
     * 
     * @param viewInJobDetail 入库子明细
     * @return 结果
     */
    public int insertViewInJobDetail(ViewInJobDetail viewInJobDetail);

    /**
     * 修改入库子明细
     * 
     * @param viewInJobDetail 入库子明细
     * @return 结果
     */
    public int updateViewInJobDetail(ViewInJobDetail viewInJobDetail);

    /**
     * 删除入库子明细
     * 
     * @param taskNo 入库子明细主键
     * @return 结果
     */
    public int deleteViewInJobDetailByTaskNo(String taskNo);

    /**
     * 批量删除入库子明细
     * 
     * @param taskNos 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteViewInJobDetailByTaskNos(String[] taskNos);
}
